home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_MacPaint / Source / shared.subproj / AbstractConverter.h < prev    next >
Text File  |  1995-06-12  |  2KB  |  41 lines

  1. /***********************************************************************\
  2. Common Abstract Converter class for Convert programs
  3. Copyright (C) 1993 David John Burrowes
  4.  
  5. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
  6.  
  7. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  8.  
  9. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  10.  
  11. The author, David John Burrowes, can be reached at:
  12.     davidjohn@kira.net.netcom.com
  13.     David John Burrowes
  14.     1926 Ivy #10
  15.     San Mateo, CA 94403-1367
  16. \***********************************************************************/
  17.  
  18. #import "ResultObject.h"
  19. #import "ConvertController.h"
  20. //
  21. //
  22. //    This simple class has the simple purpose of serving as a base class for conversion
  23. //    classes that interact with the ConvertController or it's subclasses.  Thus, it simply
  24. //    provides two simple methods which the ConvertController (or subclasses) refer to.
  25. //    This allows the convertcontroller to include this among its imports so it has
  26. //    definitions of these methods to make the compiler happy.  It also serves to remind
  27. //    me what minimum requirements I must have in a conversion class so it will talk with
  28. //    the convertcontrollers (actually, one doesn't even need these, because the convert
  29. //    controller checks before calling. but that's a technicality).
  30. //
  31. //
  32. @interface AbstractConverter:ResultObject
  33. {
  34.     id    myManager;
  35. }
  36. - init;
  37. - ReportTo: sender;
  38. - (Boolean) isThisAGoodFile: Instance;
  39. @end
  40.  
  41.